package com.yunliuchain.examination.exam.entity;

import java.math.BigDecimal;
import java.util.Date;


import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yunliuchain.examination.common.entity.BaseEntity;

/**<p>Title:考试成绩表 </p>
 * <p>Description:对应表名：t_exa_score  </p>
 * <p>作者：zzc</p>
 * <p>日期：2018-05-22 11:12:13</p>
 * <p>版本：1.0</p>
 */
public class Score extends BaseEntity{

	private static final long serialVersionUID = 8023134415818290113L;
	
	/*Auto generated properties start*/
	
	/**
	 * 主键
	 */
	private Long scoreId;
	private Long paperId;
	/**
	 * 拥有人
	 */
	private String owner;
	/**
	 * 编号
	 */
	private String code;
	/**
	 * 考试分数
	 */
	private BigDecimal score;
	/**
	 * 考试用时(分钟)
	 */
	private BigDecimal useTime;
	/**
	 * 状态(0无效的,1有效的)
	 */
	private Integer status;
	private Date createTime;
	private Date updateTime;
	/**
	 * 创建人id
	 */
	private Long creatorId;
	/**
	 * 创建人名称
	 */
	private String creatorName;
	/**
	 * 更新人id
	 */
	private Long updaterId;
	/**
	 * 更新人名称
	 */
	private String updaterName;

	
	
	public Long getScoreId(){
		return scoreId;
	}
	
	public void setScoreId(Long scoreId){
		this.scoreId = scoreId;
	}

	public Long getPaperId(){
		return paperId;
	}
	
	public void setPaperId(Long paperId){
		this.paperId = paperId;
	}

	public String getOwner(){
		return owner;
	}
	
	public void setOwner(String owner){
		this.owner = owner;
	}

	public String getCode(){
		return code;
	}
	
	public void setCode(String code){
		this.code = code;
	}

	public BigDecimal getScore(){
		return score;
	}
	
	public void setScore(BigDecimal score){
		this.score = score;
	}

	public BigDecimal getUseTime(){
		return useTime;
	}
	
	public void setUseTime(BigDecimal useTime){
		this.useTime = useTime;
	}

	public Integer getStatus(){
		return status;
	}
	
	public void setStatus(Integer status){
		this.status = status;
	}

	public Date getCreateTime(){
		return createTime;
	}
	
	public void setCreateTime(Date createTime){
		this.createTime = createTime;
	}

	public Date getUpdateTime(){
		return updateTime;
	}
	
	public void setUpdateTime(Date updateTime){
		this.updateTime = updateTime;
	}

	public Long getCreatorId(){
		return creatorId;
	}
	
	public void setCreatorId(Long creatorId){
		this.creatorId = creatorId;
	}

	public String getCreatorName(){
		return creatorName;
	}
	
	public void setCreatorName(String creatorName){
		this.creatorName = creatorName;
	}

	public Long getUpdaterId(){
		return updaterId;
	}
	
	public void setUpdaterId(Long updaterId){
		this.updaterId = updaterId;
	}

	public String getUpdaterName(){
		return updaterName;
	}
	
	public void setUpdaterName(String updaterName){
		this.updaterName = updaterName;
	}

	


    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE );
    }
}
